<template>  
    <div>  
      <h1>这是首页</h1>  
      <!-- 其他首页内容 -->  
    </div>  
  </template>  
    
  <script>  
  export default {  
    name: 'Home'  
  }  
  </script>  
    
  <style scoped>  
  /* 样式 */  
 #h1{
    position: absolute;
    top: 10px;
    right: 0px;
    color: white;
    font-weight: bold;
    background-color: rgb(233, 11, 41);
    padding: 2px;
    height: 30px;
    line-height: 30px;
    cursor: pointer;
 }
  </style>